using System;

namespace Framework.Core.Cache
{
    public interface IStorage : IFlushable
    {
        bool TryGet(string key, out object cache);
        void Update(string key, TimeSpan callDuration, object value);
    }
}